<!DOCTYPE html
	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>demo</title>
	<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
	<script type="text/javascript" src="js/zdialogMoveResize.js"></script>
	<link type="text/css" rel="stylesheet" href="css/demo.css">
</head>

<body>
	<div class="boxNew">
		<div class="title">移动窗口<span class="close">X</span></div>
		<div class="con">
			<p>内容</p>
		</div>
	</div>
	<script type="text/javascript">
		$(document).ready(function () {
			$(".boxNew").bg_move({
				move: '.title',
				closed: '.close',
				size: 6
			});
		});
	</script>
</body>

</html>